/**
 * 
 */
package STUDENTS.TRANTHAIHA.DEMO;

import java.util.Scanner;

/**
 * @author Administrator
 *
 */
public class baitap01 {
	public static void main(String[] args) {

		System.out.println("moi nhap username");
		Scanner sc = new Scanner(System.in);
		String strUsername = sc.nextLine();

		if (strUsername.isEmpty()) {
			System.out.println("yeu cau nhap username");
		}

		else {
			System.out.println("moi nhap pass");
			String strPass = sc.nextLine();
			if (strPass.isEmpty()) {
				System.out.println("yeu cau nhap usser");
			} else {
				// 2. la thong tin
				if (strUsername.equals("doannv") && strPass.equals("nothing")) {
					System.out.println("ban dn thanh cong");
				} else {
					System.out.println("tai khoan khong ton tai");
				}
			}

		}
	}

}
